package org.zhadoop.stream.cql.semanticanalyzer.parser;

import org.zhadoop.stream.cql.exception.ParseException;
import org.zhadoop.stream.cql.semanticanalyzer.parser.context.ParseContext;

/**
 * 语法解析通用接口
 * @author zwd
 *
 */
public interface IParser {
	
	/**
	 * 语法解析
	 * @param cql
	 * @return
	 * @throws ParseException
	 */
	ParseContext parse(String cql)
		throws ParseException;
}
